#ifndef _MQTT_CLIENT_SUBSCRIBE_H
#define _MQTT_CLIENT_SUBSCRIBE_H

class MqttClientSubscribe
{
private:
    /* data */
public:
    explicit MqttClientSubscribe();
    ~MqttClientSubscribe();
private:
    friend class MqttClientCore;
    bool ready_for_repeat;
    volatile int status;
    // /*
    //  * Callback called when the client receives a CONNACK message from the broker.
    // */
    // void on_connect(struct mosquitto *mosq, void *obj, int reason_code);
    // void on_publish(struct mosquitto *mosq, void *obj, int mid);

    short mqtt_client_subscribe(const char* topic);
    // void mqtt_cleint_publish(const char* topic, const char* message);
};

#endif // mqtt_client_subscribe.h
